﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WoSoft.PACS.Data.Models
{
    /// <summary>
    /// 检查申请
    /// </summary>
    public class CheckAppModel
    {

        public string id { get; set; }

        /// <summary>
        /// 检查申请号
        /// </summary>
        public string AppNo { get; set; }

        /// <summary>
        /// 个人ID
        /// </summary>
        public string PatentID { get; set; }

        /// <summary>
        /// 门诊 住院 体检
        /// </summary>
        public string AppSource { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 简码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 性别代码
        /// </summary>
        public int Sex { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 年龄单位
        /// </summary>
        public string AgeUnit { get; set; }

        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime Birthday { get; set; }

        /// <summary>
        /// 身高
        /// </summary>
        public decimal Height { get; set; }

        /// <summary>
        /// 体重
        /// </summary>
        public decimal Weight { get; set; }

        /// <summary>
        /// 床号
        /// </summary>
        public string BedNum { get; set; }
        /// <summary>
        /// 检查类型
        /// </summary>
        public string CheckType { get; set; }

        /// <summary>
        /// 申请条码
        /// </summary>
        public string ApplyCode { get; set; }

        /// <summary>
        /// 接口项目代码
        /// </summary>
        public string InterFaceCode { get; set; }

        /// <summary>
        /// 检查项目名称
        /// </summary>
        public string CheckItemName { get; set; }

        /// <summary>
        /// 检查部位方法
        /// </summary>
        public string CheckPositionMothod { get; set; }

        /// <summary>
        /// 申请医生
        /// </summary>
        public string CheckAppDoctor { get; set; }

        /// <summary>
        /// 申请科室
        /// </summary>
        public string CheckAppDepartment { get; set; }

        /// <summary>
        /// 申请科室ID
        /// </summary>
        public string CheckAppDepartmentID { get; set; }

        /// <summary>
        /// 申请时间
        /// </summary>
        public DateTime CheckAppTime { get; set; }

        /// <summary>
        /// 状态1=已申请/2=已报到/3=报告中/4=已完成
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 是否急诊
        /// </summary>
        public bool IsEmergency { get; set; }
        
        /// <summary>
        /// 检查目的
        /// </summary>
        public string CheckAppTaget { get; set; }

        /// <summary>
        /// 临床诊断
        /// </summary>
        public string Diagnosis { get; set; }

        /// <summary>
        /// 注意事项
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 单据性质 0-不收费;1-划价记录;2-记帐记录；当申请时明确为不收费，则不产生费用记录
        /// </summary>
        public int OrgderProperties { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Operation { get; set; }

        /// <summary>
        /// 录入人员
        /// </summary>
        public string OperationUser { get; set; }

        /// <summary>
        /// 执行科室ID
        /// </summary>
        public string ExecuteDepartmentID { get; set; }

        /// <summary>
        /// 检查医生
        /// </summary>
        public string CheckDoctor { get; set; }

        /// <summary>
        /// 是否直接报到
        /// </summary>
        public bool IsBD { get; set; }
    }
}
